<%@ tag body-content="scriptless" isELIgnored="false" %>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ attribute name="value" type="java.lang.String" required="true"%>
<%@ attribute name="size" type="java.lang.Integer" required="true"%>

<c:set var="tempValue" value="${fn:substring(value, 0, size-3)}..." />						
${ fn:length(value) <= size ? value : tempValue }


